package com.nfit.service;


import com.nfit.entity.Transactions;

import java.util.List;
import java.util.Map;

public interface TransactionsService {
    List<Transactions> selectAll(String userEmail);

    int insert(Transactions transaction);

    Transactions selectTransactionById(String transactionId,String userId);


    int updateTransaction(Transactions transaction);


    int deleteTransactionById(String transactionId);

    double[][] selectAmounts(String userId,String transactionType);
}
